#include <iostream>
using namespace std;

#include "complex.h"

int main()
{
    cout << "6 + 7i = " 
         << Complex (6, 7) << endl;
    cout << "(6 + 7i) + 8 = " 
         << Complex (6, 7) + 8 << endl;
    cout << "(6 + 7i) + (8 + 10i) = " 
         << Complex (6, 7) + Complex (8, 10) << endl;
    cout << "(6 + 7i) - (8 + 10i) = " 
         << Complex (6, 7) - Complex (8, 10) << endl;
    cout << "8 - (6 + 7i) = " 
         << 8 - Complex (6, 7) << endl;
    cout << "10 + (6 + 7i) = " 
         << 10 + Complex (6, 7) << endl;
    return 0;
}
